package org.pupil.tolerant;

/**
 * @Description: 容错策略接口
 * @Author: pupil
 * @Date: 2024/07/17 下午 3:48
 */
public interface FaultTolerantStrategy {

    /**
     * 容错处理
     * @param faultContext
     * @return
     * @throws Exception
     */
    Object handler(FaultContext faultContext) throws Exception;
}
